home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 60.zip / BS1 part 60 / Helm d5.adf / Welcome (.txt) < prev    next >
Helm Multimedia Book  |  1993-08-23  |  229KB  |  2,518 lines

  1. DemoBook
  2. Scott Nickerson
  3. 07-15-93
  4. New...
  5. Open...
  6. Make Copy...
  7. Streamline...
  8. Print...
  9.     Report...
  10. Preferences...
  11.     Workbench
  12. About...
  13. Quit...
  14. Paste
  15. Clear
  16. Select All
  17. Cut Page
  18.     Copy Page
  19. Colors
  20. Load...
  21. Save...
  22. Restore Colors
  23. Default Colors
  24. Brush Colors
  25. Image Colors
  26. Cycle
  27. Grid...
  28. Stop Sound
  29. Show All
  30. Unlock All
  31.     Edit Form
  32. Share
  33.     Next Page
  34. Previous Page
  35. First Page
  36.     Last Page
  37. Backward
  38. Forward
  39.     Last Book
  40.     Browse...
  41. Autobrowse...
  42.     Bookshelf
  43. New Page
  44. Delete Page
  45. New Form
  46. Load Form...
  47. Save Form...
  48. Image
  49. Load...
  50. Save...
  51. Capture...
  52.     Clipboard
  53. Paste
  54. Spare
  55. Swap Frames
  56. Copy to Spare
  57. Merge in Front
  58. Merge in Back
  59. Delete Spare
  60. Frame
  61. Previous
  62. Delete
  63. Copy to All
  64. Color
  65. Remap
  66. Transparency
  67. Paper <-> Pen
  68. Paper ->  Pen
  69. Count
  70. Vertical
  71. Horizontal
  72. Info...
  73. Brush
  74. Load...
  75. Save...
  76. Restore
  77.     Clipboard
  78. Paste
  79. Color
  80. Remap
  81. Transparency
  82. Paper <-> Pen
  83. Paper ->  Pen
  84. Center
  85. Corner
  86.     Any Point
  87. Any Size
  88. Halve
  89. Double
  90. Halve Width
  91. Halve Height
  92. Double Width
  93. Double Height
  94. To PAL
  95. To NTSC
  96. Vertical
  97. Horizontal
  98. Shear
  99. Vertical
  100. Horizontal
  101. Rotate
  102.     Any Angle
  103. Paint
  104. Matte
  105. Color
  106. Replace
  107. Smear
  108. Dissolve
  109. Spare
  110. Cycle
  111. Cycle 2
  112. Gradient
  113. Gradient 2
  114. Smudge
  115. Chaos
  116. Count
  117. Custom
  118. Dither
  119. Edges
  120. Object
  121. Load...
  122. Save...
  123. Bring to Front
  124. Send to Back
  125. Bring Closer
  126. Send Farther
  127. Group
  128. Ungroup
  129. Duplicate...
  130. Align...
  131. Info...
  132. Actions...
  133.     Script...
  134. Load...
  135. Save...
  136. Plain
  137.     Underline
  138. Italic
  139. Shadow
  140. Font...
  141. Spacing...
  142.     Hypertext
  143. Actions...
  144.     Script...
  145. Tools
  146. Coordinates
  147.     Title Bar
  148. Palette
  149. Colors
  150. Patterns
  151. Paint Tools
  152. Paint Types
  153.     Histogram
  154.     Magnifier
  155. Messages
  156. Draw Tools
  157. Layers
  158. Pages
  159. Author
  160. Book...
  161. Form...
  162. Page...
  163. Display...
  164. Menus...
  165. Narrator...
  166. Hypertext...
  167. Resources...
  168.     Effect...
  169. Effect Area
  170. wwwwDUUU
  171. Book23
  172. eagle.8svx
  173. MaryCeleste.SMUS
  174. Piano
  175. PTopaz8
  176. Raven.SMUS
  177. Shackleton.text
  178. topaz.font
  179. PTopaz.font
  180. 63GLOB
  181. DF0:Shackleton.text
  182. DF0:eagle.8svx
  183. DF0:Shackleton.text
  184. fs1:fonts/PTopaz/8
  185. /Books/DemoBook
  186. Fast2:Action.pic
  187.     DemoBook1
  188. Piano
  189. First Voice
  190. Organ
  191. @MMenu
  192. @CCreate Book
  193. @mSimple Applications
  194. @DDraw Tools
  195. @PPaint Tools
  196. @BHow to Use this Book
  197.     @SScripts
  198. @AMultimedia Actions
  199. @HPresenting Helm!
  200. The Helm Welcome Book
  201. @kBookshelf
  202. @QQuit Helm
  203. on SelectUp
  204. begin
  205.   answer "CREATE A NEW BOOK?\n\n" &
  206.     "Experiment with creating and programming\n" &
  207.     "objects in a book." with "@CCancel" or "~@OOK"
  208.   if it is "OK" then doMenu "Book", "New..."
  209. CREATE A NEW BOOK?
  210. Experiment with creating and programming
  211. objects in a book.
  212. @CCancel
  213. ~@OOK
  214. New...
  215. Chicago                         
  216. p?0v`
  217. p?0|0
  218. s>|~?
  219. <This book presents several complete applications. While they
  220. ?are not nearly as flashy or as interesting as applications that
  221. 7are use many pages, we hope they indicate the diversity
  222. ?of applications that you can make with Helm. These applications
  223. ?use scripts sparingly and were, in fact, quite easy to make. If
  224. ;you want to see how they were made, activate an object with
  225. Cthe Selection Tool of the 
  226. Draw Tools
  227.  Window and then select
  228. Actions...
  229. Script...
  230.  from the Object menu.
  231. Simple Applications Menu
  232. @PPaint Program
  233. @EExample Database
  234. @KPiano Keyboard
  235. @CCalculator
  236. @DDirectory Utility
  237. @aCalendar
  238. Use the Draw tools to create
  239. objects that rest on a page or
  240. a form. These objects include
  241. $shapes, buttons, 
  242. textfields
  243. imagefields
  244. selectors
  245. , and
  246. timer objects
  247. . Any object that
  248. rests on a form, especially
  249. textfields, can be shared or
  250. nonshared. Nonshared text-
  251. fields have different text on
  252. each page of that form.
  253. Selection Tool
  254.   Curve
  255.       Ellipse
  256.   Irregular
  257.     Polygon
  258.   Button
  259.   Imagefield
  260.   Selector
  261.   Timer
  262. Browse Tool 
  263. Line 
  264. Rectangle 
  265. Regular 
  266. Polygon   
  267. Arrow 
  268. Textfield 
  269. Chart 
  270. PIP Object 
  271. *Draw Tools (Very, very, very important!!!)
  272. Use a tool from the Paint tools
  273. window to paint on an image
  274. inside an imagefield. Like the
  275. Draw tools, many of the icons
  276. have pop-up menus or
  277. windows that appear when
  278. you click on the icon with the
  279. menu (right) mouse button.
  280. When you are using a paint
  281. tool, the Image, Paint, and
  282. Brush menus are available.
  283. Brush Indicator
  284. Select a built-in
  285. brush with the
  286. pop-up menu.
  287. Create
  288. user-
  289. defined
  290. brushes
  291. tool.
  292. Use the Animation Frame
  293. Controls to flip through
  294. the frames of an imagefield
  295. that contains more than
  296. one image frame.
  297. Painting
  298. Tools
  299. Browse
  300. Paint Tools
  301. AYou can easily hook a list of actions to an object, menu item, or
  302. ?hypertext. You simply drag actions from a catalog list and drop
  303. Athem into an action list that executes the actions asynchronously
  304. <when you select the object in a designated way. You then set
  305. 9some parameters for each action. NO PROGRAMMING REQUIRED.
  306. Blackboard
  307.  - Displays text in a timed window.
  308. <CDTV Audio - Selects and plays tracks from an audio CD disc.
  309. 'Execute - Runs an AREXX or DOS program.
  310. +Flip - Changes the frames in an imagefield.
  311. 1Genlock - Sends commands to an available genlock.
  312. "Go To - Turns to a specified page.
  313. .Helm Command - Executes a Helm system command.
  314. 9Layers - Uses a visual effect to change layer visibility.
  315. Move - Moves an object.
  316. Music
  317.  - Plays a SMUS file.
  318. ,Musical Notes - Plays notes entered as text.
  319. Narration
  320.  - Sends notes to the Amiga Narrator if available.
  321. *Picture - Displays a picture or animation.
  322. %Scroll - Scrolls text in a textfield.
  323. -Serial - Sends codes through a serial device.
  324. Sound
  325.  - Plays an 8SVX file.
  326. Test Pattern
  327.  - Displays color bars for adjusting video output.
  328.  - Displays a textfile.
  329. Touch Tones
  330.  - Dials a telephone.
  331. 1Visibility - Changes the visibility of an object.
  332. Multimedia Actions
  333. 8 Action Catalog (Press Red Hypertext to Activate Action)
  334. #This is a
  335. Blackboard
  336. Help message.
  337.     14520623
  338. Oregon Hill Cable
  339. This is the Amiga
  340. speaking.
  341. ?If you do not find an action that does just what you need, then
  342. Ayou attach a script to an object, menu item, or hypertext. Helm's
  343. 7scripting language uses object-oriented features and an
  344. 1English-like syntax to make programming a breeze.
  345. ?You enclose blocks of script statements in 
  346. event functions
  347. 4which are control structures that determine when the
  348. =statements will execute. Helm also converts data dynamically,
  349. <so you never have to worry about converting between strings,
  350. %integers, and floating point numbers.
  351. Scripts
  352. @EEvent Functions
  353. @SScript Example
  354. @HHow to Program
  355. =This Demonstration Book introduces you to Helm, its purposes,
  356. ;and tells you a little about how to use it. Once you become
  357. ;familiar with the basic ways to make Helm books, you should
  358. >try it yourself. Go to the Main Menu and click on Create Book.
  359. 8Then you can design your applications with what you have
  360. learned here.
  361. :We encourage you to move freely through this book, turning
  362. <from page to page and clicking on buttons. But if you really
  363. <want to learn Helm, you should take particular notice of the
  364. Draw tools
  365.  window, activated by choosing Draw Tools in the
  366. :Tools pull-down menu. With this one window, you can select
  367. 7the tools to browse through a book, create objects, and
  368. 4manipulate objects. Once you understand these tools,
  369. =particularly the Browse and Selection Tools, you will be well
  370. "on your way to understanding Helm.
  371. ?Another thing that you must understand is that a Helm book file
  372. =stays open the entire time that you are using that book. When
  373. 9you make a change in the book, like moving an object with
  374. @the Selection tool, that change will be automatically saved into
  375. ?the book file. There is no need, and no way, to explicitly save
  376. a book; it is done for you.
  377. >In this book, many buttons will turn to other pages. To return
  378. <to the previously displayed page, select the angled arrow in
  379. @the top right corner of the screen. If you get lost in the book,
  380. =select the Menu button which is also in the top right corner.
  381. <The Example Database application consists of four pages that
  382. ;use a single form. If you turn from page to page many times
  383. =in this form, the angled return arrow obviously will not send
  384. @you back to the applications menu. Select the lower right button
  385. on these pages to do that.
  386. @Red text is hypertext. When you click on this text, Helm will do
  387. +something, usually turning to another page.
  388. @This book has the Cannot Modify property active. This means that
  389. @you cannot alter the book. If you want to change the book or use
  390. >it as the basis of your own book applications, then you should
  391. Dfirst deselect 
  392. Cannot Modify
  393.   in the Book Information requester,
  394. 5opened by choosing 
  395.   in the 
  396. Author
  397.   menu.
  398. How to Use this Book
  399. wwwwPAGE
  400. Multimedia Presentations
  401. Make Interactive Kiosks
  402. Video Presentations
  403. Graphical Databases
  404. What does Helm do?
  405. on Timer
  406. begin
  407.   set the pen of object id 759 to 5
  408.   wait 1
  409.   set the pen of object id 760 to 5
  410.   wait 1
  411.   set the pen of object id 761 to 5
  412.   wait 2
  413.   go to the next page
  414. uon PreOpen
  415. begin
  416.   set pen of object id 759 to 4
  417.   set pen of object id 760 to 4
  418.   set pen of object id 761 to 4
  419. 1Paint Program (Select a Paint Type from the Menu)
  420. theImage
  421. @LLoad Image
  422. @SSave Image
  423. @PPrint Image
  424. #on SelectUp
  425. begin
  426.   undo paint
  427. on SelectUp
  428. begin
  429. 0on SelectUp
  430. begin
  431.   set the pencolor to me
  432. >on SelectUp
  433. begin
  434.   set tool to 4
  435.   set freehandtype to 0
  436. pon SelectUp
  437. begin
  438.   click on object id 467
  439.   set tool to 14
  440. on MenuUp
  441. begin
  442.   set the brushnumber to 0
  443. &on SelectUp
  444. begin
  445.   set tool to 5
  446. &on SelectUp
  447. begin
  448.   set tool to 6
  449. &on SelectUp
  450. begin
  451.   set tool to 8
  452. &on SelectUp
  453. begin
  454.   set tool to 7
  455. &on SelectUp
  456. begin
  457.   set tool to 9
  458. *on SelectUp
  459. begin
  460.   set tool to 32777
  461. 'on SelectUp
  462. begin
  463.   set tool to 10
  464. *on SelectUp
  465. begin
  466.   set tool to 32778
  467. 'on SelectUp
  468. begin
  469.   set tool to 11
  470. *on SelectUp
  471. begin
  472.   set tool to 32779
  473. 'on SelectUp
  474. begin
  475.   set tool to 12
  476. *on SelectUp
  477. begin
  478.   set tool to 32780
  479. on SelectUp
  480. begin
  481.   clear paint
  482. on MenuUp
  483. begin
  484.   get the pencolor
  485.   set the pencolor to zero
  486.   clear paint
  487.   set the pencolor to it
  488. on SelectUp
  489. begin
  490.   getfile ""
  491.   if it is not empty begin
  492. lock display
  493. load image it into object id 464
  494. unlock display with blocks speed 10
  495.   end
  496. aon SelectUp
  497. begin
  498.   getfile ""
  499.   if it is not empty begin
  500. save object id 464 as it
  501.   end
  502. -on SelectUp
  503. begin
  504.   set brushnumber to 4
  505. on SelectUp
  506. begin
  507.   answer "Print picture?" with "@CCancel" or "@PPrint"
  508.   if it is "Print" then print imagefield "theImage"
  509. Print picture?
  510. @CCancel
  511. @PPrint
  512. Print
  513. theImage
  514. -on SelectUp
  515. begin
  516.   set brushnumber to 1
  517. -on SelectUp
  518. begin
  519.   set brushnumber to 9
  520. .on SelectUp
  521. begin
  522.   set brushnumber to 17
  523. -on SelectUp
  524. begin
  525.   set brushnumber to 2
  526. .on SelectUp
  527. begin
  528.   set brushnumber to 10
  529. .on SelectUp
  530. begin
  531.   set brushnumber to 18
  532. -on SelectUp
  533. begin
  534.   set brushnumber to 7
  535. .on SelectUp
  536. begin
  537.   set brushnumber to 15
  538. .on SelectUp
  539. begin
  540.   set brushnumber to 23
  541. on PageOpen
  542. begin
  543.   set tool to 0
  544.   click on object id 464
  545.   click on object id 467
  546.   put 1 into object id 466
  547.   resetpaint
  548.   set the pencolor to 1
  549. on PageClose
  550. begin
  551.   set tool to 0
  552. Piano Keyboard
  553. MIDI Preset
  554. 0on SelectUp
  555. begin
  556.   set defaultpreset to me
  557. kon SelectUp
  558. begin
  559.   global midikey
  560.   if midikey is true then play notes "MX 49"
  561.   else play notes "49"
  562. midikey
  563. MX 49
  564. kon SelectUp
  565. begin
  566.   global midikey
  567.   if midikey is true then play notes "MX 51"
  568.   else play notes "51"
  569. midikey
  570. MX 51
  571. kon SelectUp
  572. begin
  573.   global midikey
  574.   if midikey is true then play notes "MX 48"
  575.   else play notes "48"
  576. midikey
  577. MX 48
  578. kon SelectUp
  579. begin
  580.   global midikey
  581.   if midikey is true then play notes "MX 50"
  582.   else play notes "50"
  583. midikey
  584. MX 50
  585. kon SelectUp
  586. begin
  587.   global midikey
  588.   if midikey is true then play notes "MX 52"
  589.   else play notes "52"
  590. midikey
  591. MX 52
  592. kon SelectUp
  593. begin
  594.   global midikey
  595.   if midikey is true then play notes "MX 54"
  596.   else play notes "54"
  597. midikey
  598. MX 54
  599. kon SelectUp
  600. begin
  601.   global midikey
  602.   if midikey is true then play notes "MX 53"
  603.   else play notes "53"
  604. midikey
  605. MX 53
  606. kon SelectUp
  607. begin
  608.   global midikey
  609.   if midikey is true then play notes "MX 55"
  610.   else play notes "55"
  611. midikey
  612. MX 55
  613. kon SelectUp
  614. begin
  615.   global midikey
  616.   if midikey is true then play notes "MX 56"
  617.   else play notes "56"
  618. midikey
  619. MX 56
  620. kon SelectUp
  621. begin
  622.   global midikey
  623.   if midikey is true then play notes "MX 58"
  624.   else play notes "58"
  625. midikey
  626. MX 58
  627. kon SelectUp
  628. begin
  629.   global midikey
  630.   if midikey is true then play notes "MX 57"
  631.   else play notes "57"
  632. midikey
  633. MX 57
  634. kon SelectUp
  635. begin
  636.   global midikey
  637.   if midikey is true then play notes "MX 59"
  638.   else play notes "59"
  639. midikey
  640. MX 59
  641. kon SelectUp
  642. begin
  643.   global midikey
  644.   if midikey is true then play notes "MX 61"
  645.   else play notes "61"
  646. midikey
  647. MX 61
  648. kon SelectUp
  649. begin
  650.   global midikey
  651.   if midikey is true then play notes "MX 63"
  652.   else play notes "63"
  653. midikey
  654. MX 63
  655. kon SelectUp
  656. begin
  657.   global midikey
  658.   if midikey is true then play notes "MX 60"
  659.   else play notes "60"
  660. midikey
  661. MX 60
  662. kon SelectUp
  663. begin
  664.   global midikey
  665.   if midikey is true then play notes "MX 62"
  666.   else play notes "62"
  667. midikey
  668. MX 62
  669. kon SelectUp
  670. begin
  671.   global midikey
  672.   if midikey is true then play notes "MX 64"
  673.   else play notes "64"
  674. midikey
  675. MX 64
  676. kon SelectUp
  677. begin
  678.   global midikey
  679.   if midikey is true then play notes "MX 66"
  680.   else play notes "66"
  681. midikey
  682. MX 66
  683. kon SelectUp
  684. begin
  685.   global midikey
  686.   if midikey is true then play notes "MX 65"
  687.   else play notes "65"
  688. midikey
  689. MX 65
  690. kon SelectUp
  691. begin
  692.   global midikey
  693.   if midikey is true then play notes "MX 67"
  694.   else play notes "67"
  695. midikey
  696. MX 67
  697. kon SelectUp
  698. begin
  699.   global midikey
  700.   if midikey is true then play notes "MX 68"
  701.   else play notes "68"
  702. midikey
  703. MX 68
  704. kon SelectUp
  705. begin
  706.   global midikey
  707.   if midikey is true then play notes "MX 70"
  708.   else play notes "70"
  709. midikey
  710. MX 70
  711. kon SelectUp
  712. begin
  713.   global midikey
  714.   if midikey is true then play notes "MX 69"
  715.   else play notes "69"
  716. midikey
  717. MX 69
  718. kon SelectUp
  719. begin
  720.   global midikey
  721.   if midikey is true then play notes "MX 71"
  722.   else play notes "71"
  723. midikey
  724. MX 71
  725. on SelectUp
  726. begin
  727.   global midikey
  728.   if the hilite of me is true begin
  729. put true into midikey
  730. set defaultpreset to object id 320
  731.   else put false into midikey
  732. midikey
  733. kon SelectUp
  734. begin
  735.   global midikey
  736.   if midikey is true then play notes "MX 73"
  737.   else play notes "73"
  738. midikey
  739. MX 73
  740. kon SelectUp
  741. begin
  742.   global midikey
  743.   if midikey is true then play notes "MX 75"
  744.   else play notes "75"
  745. midikey
  746. MX 75
  747. kon SelectUp
  748. begin
  749.   global midikey
  750.   if midikey is true then play notes "MX 72"
  751.   else play notes "72"
  752. midikey
  753. MX 72
  754. kon SelectUp
  755. begin
  756.   global midikey
  757.   if midikey is true then play notes "MX 74"
  758.   else play notes "74"
  759. midikey
  760. MX 74
  761. kon SelectUp
  762. begin
  763.   global midikey
  764.   if midikey is true then play notes "MX 76"
  765.   else play notes "76"
  766. midikey
  767. MX 76
  768. kon SelectUp
  769. begin
  770.   global midikey
  771.   if midikey is true then play notes "MX 78"
  772.   else play notes "78"
  773. midikey
  774. MX 78
  775. kon SelectUp
  776. begin
  777.   global midikey
  778.   if midikey is true then play notes "MX 77"
  779.   else play notes "77"
  780. midikey
  781. MX 77
  782. kon SelectUp
  783. begin
  784.   global midikey
  785.   if midikey is true then play notes "MX 79"
  786.   else play notes "79"
  787. midikey
  788. MX 79
  789. kon SelectUp
  790. begin
  791.   global midikey
  792.   if midikey is true then play notes "MX 80"
  793.   else play notes "80"
  794. midikey
  795. MX 80
  796. kon SelectUp
  797. begin
  798.   global midikey
  799.   if midikey is true then play notes "MX 82"
  800.   else play notes "82"
  801. midikey
  802. MX 82
  803. kon SelectUp
  804. begin
  805.   global midikey
  806.   if midikey is true then play notes "MX 81"
  807.   else play notes "81"
  808. midikey
  809. MX 81
  810. kon SelectUp
  811. begin
  812.   global midikey
  813.   if midikey is true then play notes "MX 83"
  814.   else play notes "83"
  815. midikey
  816. MX 83
  817. kon SelectUp
  818. begin
  819.   global midikey
  820.   if midikey is true then play notes "MX 84"
  821.   else play notes "84"
  822. midikey
  823. MX 84
  824. kon SelectUp
  825. begin
  826.   global midikey
  827.   if midikey is true then play notes "MX 37"
  828.   else play notes "37"
  829. midikey
  830. MX 37
  831. kon SelectUp
  832. begin
  833.   global midikey
  834.   if midikey is true then play notes "MX 39"
  835.   else play notes "39"
  836. midikey
  837. MX 39
  838. kon SelectUp
  839. begin
  840.   global midikey
  841.   if midikey is true then play notes "MX 36"
  842.   else play notes "36"
  843. midikey
  844. MX 36
  845. kon SelectUp
  846. begin
  847.   global midikey
  848.   if midikey is true then play notes "MX 38"
  849.   else play notes "38"
  850. midikey
  851. MX 38
  852. kon SelectUp
  853. begin
  854.   global midikey
  855.   if midikey is true then play notes "MX 40"
  856.   else play notes "40"
  857. midikey
  858. MX 40
  859. kon SelectUp
  860. begin
  861.   global midikey
  862.   if midikey is true then play notes "MX 42"
  863.   else play notes "42"
  864. midikey
  865. MX 42
  866. kon SelectUp
  867. begin
  868.   global midikey
  869.   if midikey is true then play notes "MX 41"
  870.   else play notes "41"
  871. midikey
  872. MX 41
  873. kon SelectUp
  874. begin
  875.   global midikey
  876.   if midikey is true then play notes "MX 43"
  877.   else play notes "43"
  878. midikey
  879. MX 43
  880. kon SelectUp
  881. begin
  882.   global midikey
  883.   if midikey is true then play notes "MX 44"
  884.   else play notes "44"
  885. midikey
  886. MX 44
  887. kon SelectUp
  888. begin
  889.   global midikey
  890.   if midikey is true then play notes "MX 46"
  891.   else play notes "46"
  892. midikey
  893. MX 46
  894. kon SelectUp
  895. begin
  896.   global midikey
  897.   if midikey is true then play notes "MX 45"
  898.   else play notes "45"
  899. midikey
  900. MX 45
  901. kon SelectUp
  902. begin
  903.   global midikey
  904.   if midikey is true then play notes "MX 47"
  905.   else play notes "47"
  906. midikey
  907. MX 47
  908. Calculator
  909. Display
  910. C -> 
  911. Yards -> Meters
  912. Meters -> Yards
  913. F -> 
  914. Inches -> Centimeters
  915. Centimeters -> Meters
  916. Miles -> Kilometers
  917. Pounds -> Grams
  918. Grams -> Pounds
  919. Kilometers -> Miles
  920. on SelectUp
  921. begin
  922.   checkit()
  923.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  924. put "7" into textfield "Display"
  925.   else put "7" after textfield "Display"
  926. checkit
  927. Display
  928. Display
  929. Display
  930. Display
  931. on SelectUp
  932. begin
  933.   checkit()
  934.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  935. put "8" into textfield "Display"
  936.   else put "8" after textfield "Display"
  937. checkit
  938. Display
  939. Display
  940. Display
  941. Display
  942. on SelectUp
  943. begin
  944.   checkit()
  945.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  946. put "9" into textfield "Display"
  947.   else put "9" after textfield "Display"
  948. checkit
  949. Display
  950. Display
  951. Display
  952. Display
  953. on SelectUp
  954. begin
  955.   global operator
  956.   global firstnumber
  957.   global doit
  958.   put false into doit
  959.   put "/" into operator
  960.   put textfield "Display" into firstnumber
  961. /    operator
  962. firstnumber
  963. Display
  964. on SelectUp
  965. begin
  966.   checkit()
  967.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  968. put "4" into textfield "Display"
  969.   else put "4" after textfield "Display"
  970. checkit
  971. Display
  972. Display
  973. Display
  974. Display
  975. on SelectUp
  976. begin
  977.   checkit()
  978.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  979. put "5" into textfield "Display"
  980.   else put "5" after textfield "Display"
  981. checkit
  982. Display
  983. Display
  984. Display
  985. Display
  986. on SelectUp
  987. begin
  988.   checkit()
  989.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  990. put "6" into textfield "Display"
  991.   else put "6" after textfield "Display"
  992. checkit
  993. Display
  994. Display
  995. Display
  996. Display
  997. on SelectUp
  998. begin
  999.   global operator
  1000.   global firstnumber
  1001.   global doit
  1002.   put false into doit
  1003.   put "x" into operator
  1004.   put textfield "Display" into firstnumber
  1005. /    operator
  1006. firstnumber
  1007. Display
  1008. on SelectUp
  1009. begin
  1010.   checkit()
  1011.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  1012. put "1" into textfield "Display"
  1013.   else put "1" after textfield "Display"
  1014. checkit
  1015. Display
  1016. Display
  1017. Display
  1018. Display
  1019. on SelectUp
  1020. begin
  1021.   checkit()
  1022.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  1023. put "2" into textfield "Display"
  1024.   else put "2" after textfield "Display"
  1025. checkit
  1026. Display
  1027. Display
  1028. Display
  1029. Display
  1030. on SelectUp
  1031. begin
  1032.   checkit()
  1033.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  1034. put "3" into textfield "Display"
  1035.   else put "3" after textfield "Display"
  1036. checkit
  1037. Display
  1038. Display
  1039. Display
  1040. Display
  1041. on SelectUp
  1042. begin
  1043.   global operator
  1044.   global firstnumber
  1045.   global doit
  1046.   put false into doit
  1047.   put "-" into operator
  1048.   put textfield "Display" into firstnumber
  1049. /    operator
  1050. firstnumber
  1051. Display
  1052. on SelectUp
  1053. begin
  1054.   checkit()
  1055.   if textfield "Display" = 0 and (char 2 of textfield "Display") != "."
  1056. put "0" into textfield "Display"
  1057.   'else put "0" after textfield "Display"
  1058.   if textfield "Display" != 0 put "0" after textfield "Display"
  1059. checkit
  1060. Display
  1061. Display
  1062. Display
  1063. Display
  1064. Display
  1065. bon SelectUp
  1066. begin
  1067.   put textfield "Display" * -1 into textfield "Display"
  1068.   resetcalculator()
  1069. Display
  1070. Display
  1071. resetcalculator
  1072. 2on SelectUp
  1073. begin
  1074.   checkit()
  1075.   get textfield "Display"
  1076.   put the number of characters of it into n
  1077.   put false into dot
  1078.   for i = 1 to n begin
  1079. if (char i of it) = "." begin
  1080. put true into dot
  1081. put n + 1 into i
  1082.   end
  1083.   if dot = false then
  1084. put "." after textfield "Display"
  1085. checkit
  1086. Display
  1087. Display
  1088. on SelectUp
  1089. begin
  1090.   global operator
  1091.   global firstnumber
  1092.   global doit
  1093.   put false into doit
  1094.   put "+" into operator
  1095.   put textfield "Display" into firstnumber
  1096. /    operator
  1097. firstnumber
  1098. Display
  1099. :on SelectUp
  1100. begin
  1101.   put zero into textfield "Display"
  1102. Display
  1103. Don SelectUp
  1104. begin
  1105.   global operator
  1106.   global firstnumber
  1107.   global doit
  1108.   if operator = "/" begin
  1109. if (textfield "Display" = 0) then
  1110. put "DIVISION BY ZERO" into it
  1111. else put (firstnumber / textfield "Display") into it
  1112.   end
  1113.   if operator = "x" then put firstnumber * textfield "Display" into it
  1114.   if operator = "-" then put firstnumber - textfield "Display" into it
  1115.   if operator = "+" then put firstnumber + textfield "Display" into it
  1116.   if operator is empty then put zero into it
  1117.   put it into textfield "Display"
  1118.   put "=" into operator
  1119.   put false into doit
  1120. /    operator
  1121. firstnumber
  1122. Display
  1123. DIVISION BY ZERO
  1124. Display
  1125. Display
  1126. Display
  1127. Display
  1128. Display
  1129. on SelectUp
  1130. begin
  1131.   get textfield "Display"
  1132.   put (sin of (it * 3.14159265358979 / 180)) into textfield "Display"
  1133.   resetcalculator()
  1134. Display
  1135. Display
  1136. resetcalculator
  1137. on SelectUp
  1138. begin
  1139.   get textfield "Display"
  1140.   put (cos of (it * 3.14159265358979 / 180)) into textfield "Display"
  1141.   resetcalculator()
  1142. Display
  1143. Display
  1144. resetcalculator
  1145. on SelectUp
  1146. begin
  1147.   get textfield "Display"
  1148.   put (tan of (it * 3.14159265358979 / 180)) into textfield "Display"
  1149.   resetcalculator()
  1150. Display
  1151. Display
  1152. resetcalculator
  1153. on SelectUp
  1154. begin
  1155.   get textfield "Display"
  1156.   put (asin of it) * 180 / 3.14159265358979 into textfield "Display"
  1157.   resetcalculator()
  1158. Display
  1159. Display
  1160. resetcalculator
  1161. on SelectUp
  1162. begin
  1163.   get textfield "Display"
  1164.   put (acos of it) * 180 / 3.14159265358979 into textfield "Display"
  1165.   resetcalculator()
  1166. Display
  1167. Display
  1168. resetcalculator
  1169. on SelectUp
  1170. begin
  1171.   get textfield "Display"
  1172.   get textfield "Display"
  1173.   put (atan of it) * 180 / 3.14159265358979 into textfield "Display"
  1174.   resetcalculator()
  1175. Display
  1176. Display
  1177. Display
  1178. resetcalculator
  1179. on SelectUp
  1180. begin
  1181.   get textfield "Display"
  1182.   put (sinh of (it * 3.14159265358979 / 180)) into textfield "Display"
  1183.   resetcalculator()
  1184. Display
  1185. Display
  1186. resetcalculator
  1187. on SelectUp
  1188. begin
  1189.   get textfield "Display"
  1190.   put (cosh of (it * 3.14159265358979 / 180)) into textfield "Display"
  1191.   resetcalculator()
  1192. Display
  1193. Display
  1194. resetcalculator
  1195. on SelectUp
  1196. begin
  1197.   get textfield "Display"
  1198.   put (tanh of (it * 3.14159265358979 / 180)) into textfield "Display"
  1199.   resetcalculator()
  1200. Display
  1201. Display
  1202. resetcalculator
  1203. jon SelectUp
  1204. begin
  1205.   put the log10 of textfield "Display" into textfield "Display"
  1206.   resetcalculator()
  1207. Display
  1208. Display
  1209. resetcalculator
  1210. hon SelectUp
  1211. begin
  1212.   put the exp of textfield "Display" into textfield "Display"
  1213.   resetcalculator()
  1214. Display
  1215. Display
  1216. resetcalculator
  1217. on SelectUp
  1218. begin
  1219.   get textfield "Display"
  1220.   put (cot of (it * 3.14159265358979 / 180)) into textfield "Display"
  1221.   resetcalculator()
  1222. Display
  1223. Display
  1224. resetcalculator
  1225. jon SelectUp
  1226. begin
  1227.   put (textfield "Display") * 1.8 + 32 into textfield "Display"
  1228.   resetcalculator()
  1229. Display
  1230.  Display
  1231. resetcalculator
  1232. lon SelectUp
  1233. begin
  1234.   put (textfield "Display") * 1.09361398 into textfield "Display"
  1235.   resetcalculator()
  1236. Display
  1237. =Display
  1238. resetcalculator
  1239. hon SelectUp
  1240. begin
  1241.   put (textfield "Display") * 0.9144 into textfield "Display"
  1242.   resetcalculator()
  1243. Display
  1244. Display
  1245. resetcalculator
  1246. qon SelectUp
  1247. begin
  1248.   put ((textfield "Display") - 32) * 0.555555 into textfield "Display"
  1249.   resetcalculator()
  1250. Display
  1251. Display
  1252. resetcalculator
  1253. jon SelectUp
  1254. begin
  1255.   put (textfield "Display") * 0.393701 into textfield "Display"
  1256.   resetcalculator()
  1257. Display
  1258. Display
  1259. resetcalculator
  1260. fon SelectUp
  1261. begin
  1262.   put (textfield "Display") * 2.54 into textfield "Display"
  1263.   resetcalculator()
  1264. Display
  1265. RDisplay
  1266. resetcalculator
  1267. ion SelectUp
  1268. begin
  1269.   put (textfield "Display") * 0.62137 into textfield "Display"
  1270.   resetcalculator()
  1271. Display
  1272. Display
  1273. resetcalculator
  1274. kon SelectUp
  1275. begin
  1276.   put (textfield "Display") * 0.0026792 into textfield "Display"
  1277.   resetcalculator()
  1278. Display
  1279. Display
  1280. resetcalculator
  1281. ion SelectUp
  1282. begin
  1283.   put (textfield "Display") * 373.242 into textfield "Display"
  1284.   resetcalculator()
  1285. Display
  1286. Display
  1287. resetcalculator
  1288. ion SelectUp
  1289. begin
  1290.   put (textfield "Display") * 1.60934 into textfield "Display"
  1291.   resetcalculator()
  1292. Display
  1293. PrDisplay
  1294. resetcalculator
  1295. Lon PageClose begin
  1296.   put 0 into textfield "Display"
  1297. checkit begin
  1298.   global operator
  1299.   global doit
  1300.   if (operator is not empty) and (doit is false) then begin
  1301. put zero into textfield "Display"
  1302. put true into doit
  1303.   end
  1304. resetcalculator begin
  1305.   global operator, doit
  1306.   put "=" into operator
  1307.   put false into doit
  1308. resetcalculator
  1309. checkit
  1310. Display
  1311. /    operator
  1312. Display
  1313. /    operator
  1314. Directory Utility
  1315. FileA
  1316. FileB
  1317. CGraphics RAM: %3
  1318.    Other RAM: %4
  1319.           OS: %k
  1320.    Processor: %1
  1321. Delete
  1322. COPY ->
  1323. Rename
  1324. MakeDir
  1325. Image
  1326. Sound
  1327. Music
  1328. <- COPY
  1329. Delete
  1330. Rename
  1331. MakeDir
  1332. Image
  1333. Sound
  1334. Music
  1335. Halt Music
  1336.     Bookshelf
  1337. WORK:
  1338. WORK:
  1339. About
  1340. on SelectUp
  1341. begin
  1342.   put strdir of selector "FileA" into temporary
  1343.   put strdir of selector "FileB" into selector "FileA"
  1344.   put temporary into selector "FileB"
  1345. FileA
  1346. FileB
  1347. FileA
  1348. FileB
  1349. Mon SelectUp
  1350. begin
  1351.   put strdir of selector "FileA" into selector "FileB"
  1352. FileA
  1353. FileB
  1354. Mon SelectUp
  1355. begin
  1356.   put strdir of selector "FileB" into selector "FileA"
  1357. FileB
  1358. FileA
  1359. kon SelectUp
  1360. begin
  1361.   deletefile selector "FileA"
  1362.   put strdir of selector "FileA" into selector "FileA"
  1363. FileA
  1364. FileA
  1365. FileA
  1366. on SelectUp
  1367. begin
  1368.   copyfile selector "FileA" to strdir of selector "FileB"
  1369.   put strdir selector "FileB" into selector "FileB"
  1370. FileA
  1371. FileB
  1372. FileB
  1373. FileB
  1374. on SelectUp
  1375. begin
  1376.   ask "Enter new name:" with selector "FileA"
  1377.   if it is not empty then begin
  1378. rename selector "FileA" as it
  1379. put strdir of selector "FileA" into selector "FileA"
  1380.   end
  1381. Enter new name:
  1382. FileA
  1383. FileA
  1384. FileA
  1385. FileA
  1386. on SelectUp
  1387. begin
  1388.   ask "Enter path and directory name:" with strdir of selector "FileA"
  1389.   if it is not empty then begin
  1390. makedir it
  1391. put strdir of selector "FileA" into selector "FileA"
  1392.   end
  1393. Enter path and directory name:
  1394. FileA
  1395. FileA
  1396. FileA
  1397. Don SelectUp
  1398. begin
  1399.   show image selector "FileA" fade loops zero
  1400. FileA
  1401. 4on SelectUp
  1402. begin
  1403.   play sound selector "FileA"
  1404. FileA
  1405. 3on SelectUp
  1406. begin
  1407.   show text selector "FileA"
  1408. FileA
  1409. 4on SelectUp
  1410. begin
  1411.   play music selector "FileA"
  1412. FileA
  1413. on SelectUp
  1414. begin
  1415.   copyfile selector "FileB" to strdir of selector "FileA"
  1416.   put strdir of selector "FileA" into selector "FileA"
  1417. FileB
  1418. FileA
  1419. FileA
  1420. FileA
  1421. kon SelectUp
  1422. begin
  1423.   deletefile selector "FileB"
  1424.   put strdir of selector "FileB" into selector "FileB"
  1425. FileB
  1426. FileB
  1427. FileB
  1428. on SelectUp
  1429. begin
  1430.   ask "Enter new name:" with selector "FileB"
  1431.   if it is not empty then begin
  1432. rename selector "FileB" as it
  1433. put strdir of selector "FileB" into selector "FileB"
  1434.   end
  1435. Enter new name:
  1436. FileB
  1437. FileB
  1438. FileB
  1439. FileB
  1440. on SelectUp
  1441. begin
  1442.   ask "Enter path and directory name:" with strdir of selector "FileB"
  1443.   if it is not empty begin
  1444. makedir it
  1445. put strdir of selector "FileB" into selector "FileB"
  1446.   end
  1447. Enter path and directory name:
  1448. FileB
  1449. FileB
  1450. FileB
  1451. Don SelectUp
  1452. begin
  1453.   show image selector "FileB" fade loops zero
  1454. FileB
  1455. 4on SelectUp
  1456. begin
  1457.   play sound selector "FileB"
  1458. FileB
  1459. 3on SelectUp
  1460. begin
  1461.   show text selector "FileB"
  1462. FileB
  1463. 4on SelectUp
  1464. begin
  1465.   play music selector "FileB"
  1466. FileB
  1467. 5on SelectUp
  1468. begin
  1469.   set midi to the hilite of me
  1470. Von SelectUp
  1471. begin
  1472.   answer "This button is disabled\nin this demonstration book."
  1473. This button is disabled
  1474. in this demonstration book.
  1475. Lon SelectUp
  1476. begin
  1477.   selectpathA()
  1478. on MenuUp
  1479. begin
  1480.   changebutton()
  1481. selectpathA
  1482. changebutton
  1483. Lon SelectUp
  1484. begin
  1485.   selectpathA()
  1486. on MenuUp
  1487. begin
  1488.   changebutton()
  1489. selectpathA
  1490. changebutton
  1491. Lon SelectUp
  1492. begin
  1493.   selectpathA()
  1494. on MenuUp
  1495. begin
  1496.   changebutton()
  1497. selectpathA
  1498. changebutton
  1499. Lon SelectUp
  1500. begin
  1501.   selectpathB()
  1502. on MenuUp
  1503. begin
  1504.   changebutton()
  1505. selectpathB
  1506. changebutton
  1507. Lon SelectUp
  1508. begin
  1509.   selectpathB()
  1510. on MenuUp
  1511. begin
  1512.   changebutton()
  1513. selectpathB
  1514. changebutton
  1515. Lon SelectUp
  1516. begin
  1517.   selectpathB()
  1518. on MenuUp
  1519. begin
  1520.   changebutton()
  1521. selectpathB
  1522. changebutton
  1523. Lon SelectUp
  1524. begin
  1525.   selectpathA()
  1526. on MenuUp
  1527. begin
  1528.   changebutton()
  1529. selectpathA
  1530. changebutton
  1531. Lon SelectUp
  1532. begin
  1533.   selectpathA()
  1534. on MenuUp
  1535. begin
  1536.   changebutton()
  1537. selectpathA
  1538. changebutton
  1539. Lon SelectUp
  1540. begin
  1541.   selectpathA()
  1542. on MenuUp
  1543. begin
  1544.   changebutton()
  1545. selectpathA
  1546. changebutton
  1547. Lon SelectUp
  1548. begin
  1549.   selectpathB()
  1550. on MenuUp
  1551. begin
  1552.   changebutton()
  1553. selectpathB
  1554. changebutton
  1555. Lon SelectUp
  1556. begin
  1557.   selectpathB()
  1558. on MenuUp
  1559. begin
  1560.   changebutton()
  1561. selectpathB
  1562. changebutton
  1563. Lon SelectUp
  1564. begin
  1565.   selectpathB()
  1566. on MenuUp
  1567. begin
  1568.   changebutton()
  1569. selectpathB
  1570. changebutton
  1571. 3on SelectUp
  1572. begin
  1573.   answer "Directory Utility"
  1574. Directory Utility
  1575. selectpathA
  1576. begin
  1577.   put the name of me into selector "FileA"
  1578. selectpathB
  1579. begin
  1580.   put the name of me into selector "FileB"
  1581. changebutton
  1582. begin
  1583.   ask "Enter path:" with the name of me
  1584.   if it is not empty then set the name of me to it
  1585. changebutton
  1586. selectpathB
  1587. selectpathA
  1588. FileA
  1589. FileB
  1590. Enter path:
  1591. Calendar
  1592. >FORM
  1593. *ILBMBMHD
  1594. DFORM
  1595. 0ILBMBMHD
  1596. ILBMBMHD
  1597. +Database Example (One form with four pages)
  1598.     Last Name
  1599. First Name
  1600. Company
  1601. Street
  1602. State
  1603. Country
  1604. Notes
  1605. Phone
  1606. @MMenu
  1607. @DDelete Page
  1608. @wNew Page
  1609. @FFind
  1610. @SSort
  1611. @RReturn
  1612. @BBookshelf
  1613. @NNext
  1614. @PPrevious
  1615. Number
  1616. Company
  1617. @AApps Menu
  1618. Phone
  1619. @11 Dial
  1620. @22 Dial
  1621. Ton SelectUp
  1622. begin
  1623.   answer "This command is NOT\nimplemented in the Demo Book."
  1624. This command is NOT
  1625. implemented in the Demo Book.
  1626. Ton SelectUp
  1627. begin
  1628.   answer "This command is NOT\nimplemented in the Demo Book."
  1629. This command is NOT
  1630. implemented in the Demo Book.
  1631. Von SelectUp
  1632. begin
  1633.   answer "This command is disabled\nin the demonstration book."
  1634. This command is disabled
  1635. in the demonstration book.
  1636. Ton SelectUp
  1637. begin
  1638.   answer "This command is NOT\nimplemented in the Demo Book."
  1639. This command is NOT
  1640. implemented in the Demo Book.
  1641. bon SelectUp
  1642. begin
  1643.   answer "This command is NOT\n" &
  1644.     "implemented in the Demo Book."
  1645. This command is NOT
  1646. implemented in the Demo Book.
  1647. /on SelectUp
  1648. begin
  1649.   dial textfield "Phone"
  1650. Phone
  1651. -on SelectUp
  1652. begin
  1653.   dial textfield "FAX"
  1654. Smallbridge
  1655. 1805 Esquire Street
  1656. Renown, Ltd.
  1657. 05-14-93
  1658. Horatio
  1659. Hornblower
  1660. 1-804/555-1000
  1661. Chichester
  1662. 1967 Francis Street
  1663. 12-03-92
  1664. William
  1665. 1-555/1797
  1666. ITALIA
  1667. Tuscany
  1668. Volterra
  1669. 1796 Marchesa Way
  1670. Edward Yorke & Associates, Inc.
  1671. 11-15-92
  1672. Nicholas
  1673. Ramage
  1674. Rhymes with "damage."
  1675. 1-804/555-3432
  1676. 1-804/555-3432
  1677. 23230
  1678. Yorktown
  1679. 123 Captain Road
  1680. Nonsuch, Inc.
  1681. 02-15-93
  1682. Barbara
  1683.     Wellesley
  1684. HFORM
  1685. 4ILBMBMHD
  1686.  A textfield is like a small word
  1687. processor contained in an
  1688. .object. The textfields support color and style
  1689. font, color, and style changes;
  1690. color fonts; mouse scrolling;
  1691. transparent backgrounds;
  1692. hypertext; and more. The
  1693. textfields have everything
  1694. you need to create video and
  1695. multimedia presentations
  1696. with ease.
  1697. Lydia
  1698.   swung away,
  1699. close-hauled
  1700. , clawing her
  1701. way up to windward of the
  1702. flaming wreck. 
  1703. Hornblower
  1704.  gazed back at
  1705. her. There were bright
  1706. flames now to be seen,
  1707. spouting from the
  1708. shattered bows -- the red
  1709. glow was reflected in the
  1710. heaving sea around her.
  1711. And then, as they looked,
  1712. they saw the flames
  1713. vanish abruptly, like an
  1714. extinguished candle. There
  1715. was nothing to be seen at
  1716. all, nothing save darkness
  1717. and the faint glimmer of
  1718. the wave crests. The seas
  1719. had swallowed the
  1720. Natividad
  1721.   before the
  1722. flames could destroy her.
  1723. from 
  1724. Beat to Quarters 
  1725. C. S. Forester
  1726. Textfields
  1727. PCECIL SCOTT FORESTER (1899-1965), British
  1728.  Novelist. Created the character of      
  1729.  Horatio Hornblower in a series of novels
  1730.  that take place during the wars with    
  1731.  France (1793-1815). These novels are    
  1732.  noted for their vivid descriptions of   
  1733.  square-rigger seamanship and the complex
  1734.  Hornblower character.                   
  1735. iCLOSE-HAULED, having the sails    
  1736.  trimmed so that the ship proceeds
  1737.  as close to the wind as possible.
  1738. on SelectUp
  1739. begin
  1740. NHORATIO HORNBLOWER       
  1741.  Captain of His Majesty's
  1742.  Frigate Lydia.          
  1743. on SelectUp
  1744. begin
  1745. IWILLIAM BUSH            
  1746. First Lieutenant of His
  1747. Majesty's frigate Lydia
  1748. on SelectUp
  1749. begin
  1750. An imagefield is an object that
  1751. contains one or more image
  1752. frames. You can paint on the
  1753. image with the paint tools.
  1754. You can also animate an
  1755. imagefield or use it as a
  1756. button. Try the imagefield
  1757. slider to the left or press
  1758. down on the lamp with the
  1759. selection (left) mouse button.
  1760. Imagefields
  1761. Selectors are control panels
  1762. used for specialized input.
  1763. Many selectors offer ways
  1764. of selecting an item in a list;
  1765. you can attach actions or a
  1766. script to each item and to the
  1767. selector as a whole. Other
  1768. selectors, like file selectors,
  1769. perform unque functions that
  1770. would be difficult for you to
  1771. program on your own.
  1772.     Selectors
  1773. Selectors Types
  1774. theClock
  1775. Calendar
  1776.     Check Box
  1777. Clock
  1778. Cycle
  1779. Empty
  1780. Function
  1781. Information
  1782. Item Slider
  1783. Matrix
  1784. Multiple Choice
  1785. Number
  1786. Palette
  1787. Pop-up Menu
  1788. Radio
  1789. Scrolling List
  1790. Single Choice
  1791. Slider
  1792. Tacking
  1793. Close-hauled
  1794. Fetch
  1795. Reach
  1796. Broad reach
  1797. Gybing
  1798. Broad
  1799. Grace
  1800. Franklin
  1801. Aon SelectUp
  1802. begin
  1803.   set the pen of selector "theClock" to me
  1804. theClock
  1805. Fleet Admiral
  1806. Admiral
  1807. Vice Admiral
  1808. Rear Admiral
  1809. Marryat
  1810. Forester
  1811. Tinker
  1812. Tailor
  1813. Soldier
  1814. Sailor
  1815. A timer executes actions or a
  1816. script at a specified interval
  1817. after the page on which the
  1818. timer rests is opened. Timers
  1819. provide easy ways to create
  1820. non-interactive video
  1821. presentations. Timers are
  1822. usually left invisible when in
  1823. use. The book author will
  1824. choose 
  1825. Show All
  1826.   to make
  1827. changes to the timers.
  1828. This timer scrolls text in a
  1829. textfield once every second.
  1830. John Jervis
  1831. Horatio Nelson
  1832. Cuthbert Collingwood
  1833. Edward Pellew
  1834. Timer Objects
  1835. nFORM
  1836. ZANIMFORM
  1837. ILBMBMHD
  1838. wwwwCRNG
  1839. ILBMANHD
  1840. con]KR4>
  1841. }}<;CS
  1842. ILBMANHD
  1843. gOOOHWT^?
  1844. ILBMANHD
  1845. o?;;??
  1846. o?;;??
  1847. [[77/_
  1848. 4,Z;>~
  1849. ^ILBMANHD
  1850. ILBMANHD
  1851. con]KR4>
  1852. }}<;CS
  1853. ANIMFORM
  1854. ILBMBMHD
  1855. ADPAN
  1856. wwwwCRNG
  1857. ILBMANHD
  1858. ILBMANHD
  1859. ILBMANHD
  1860. RILBMANHD
  1861. ^^]=:u
  1862. ILBMANHD
  1863. ILBMANHD
  1864. 8|||8
  1865. ,\R    %
  1866. 8|||8
  1867. ILBMANHD
  1868. ILBMANHD
  1869. zFORM
  1870. fANIMFORM
  1871. ILBMBMHD
  1872. wwwwCRNG
  1873. ILBMANHD
  1874. ILBMANHD
  1875. ILBMANHD
  1876. ILBMANHD
  1877. ILBMANHD
  1878. |FORM
  1879. hILBMBMHD
  1880. Helm produces many different
  1881. messages as you interact with
  1882. a book, such as clicking on a
  1883. button or turning a page.
  1884. The event functions in scripts
  1885. give an object a way to
  1886. respond to these events; Helm
  1887. handles the interaction with
  1888. the user, freeing the author to
  1889. concentrate on the creative
  1890. aspect of programming.
  1891. SelectUp
  1892. SelectDown
  1893. MenuUp
  1894. MenuDown
  1895. MenuChoice
  1896. BookOpen
  1897.     BookClose
  1898. PreOpen
  1899. PageOpen
  1900.     PageClose
  1901. Return
  1902. Timer
  1903. Event Functions
  1904. Helm Recognizes these Events
  1905. The script displayed in the
  1906. textfield to the left is a copy
  1907. of the script that is attached
  1908. to the red "Press to Play"
  1909. button. When you click on this
  1910.  button with the selection (left)
  1911. mouse button, Helm will
  1912. run the script. Notice that
  1913. the event function will not
  1914. run until you release (that is,
  1915. "let 
  1916. ) the selection button.
  1917. on SelectUp
  1918. begin
  1919.   set color zero to bright red
  1920.   wait 1
  1921.   set color zero to black
  1922.   play notes "cq e gh"
  1923. Script Example
  1924. @PPress to Play
  1925. @OVariation One
  1926. @TVariation Two
  1927. oon SelectUp
  1928. begin
  1929.   set color zero to bright red
  1930.   wait 1
  1931.   set color zero to black
  1932.   play notes "cq e gh"
  1933. cq e gh
  1934. on SelectUp
  1935. begin
  1936.   lock display
  1937.   put "red" into word 9 of textfield "test"
  1938.   put "wait" into word 10 of textfield "test"
  1939.   put "1" into word 11 of textfield "test"
  1940.   set the script of button "Press to Play" to textfield "test"
  1941.   unlock display
  1942.     test
  1943. Press to Play
  1944. on SelectUp
  1945. begin
  1946.   lock display
  1947.   put "\"Hello\"" into word 11 of textfield "test"
  1948.   put "blue" into word 9 of textfield "test"
  1949.   put "answer" into word 10 of textfield "test"
  1950.   set the script of button "Press to Play" to textfield "test"
  1951.   unlock display
  1952. "Hello"
  1953.     test
  1954. answer
  1955. Press to Play
  1956. You must understand four
  1957. basic object-oriented concepts
  1958. before you can program in
  1959. Helm: (1) Scripts are attached
  1960. to objects. (2) Scripts consist
  1961. of functions. (3) Event
  1962. functions show Helm how to
  1963. respond to specified events. 
  1964. (4) Events are created when
  1965. the user interacts with the
  1966. objects in a book.
  1967. HOW TO PROGRAM
  1968. +1. Create an object, such as a button, with
  1969. 1a tool chosen from the 
  1970. Draw tools window
  1971. *2. Choose the Selection tool from the Draw
  1972.  tools window to edit the object.
  1973. &3. Double click the object to edit the
  1974. (object's name and change its settings in
  1975. +the object's info window. Then select Exit.
  1976. &4. With the object still active -- the
  1977. 'control points are visible on an active
  1978. *object -- choose Script... from the Object
  1979. &pull down menu; the Script Editor will
  1980. )open. (You could also have chosen Actions
  1981. +to attach a simple multimedia action list.)
  1982. %5. Determine which event you want the
  1983. !object to respond to and enter it
  1984. $followed by "begin" into the editor.
  1985. )6. Enter the body of your event function,
  1986. (followed by "end" to indicate the end of
  1987. %the function. Then choose OK from the
  1988. $editor pull-down menu to compile the
  1989. )script and leave the editor. YOU'RE DONE!
  1990. 37. Select the 
  1991. Browse tool
  1992.  and then click on
  1993. the object to test your work.
  1994. -How to Program (The Easy Object-oriented Way)
  1995. ptopaz                          
  1996. 3o3xg
  1997. Make Interactive Kiosks
  1998. Video Presentations
  1999. Personal Programming
  2000. &To make applications, you draw objects
  2001. 'on screen and attach actions or scripts
  2002. to the objects.
  2003. It's that simple.
  2004. You create objects with
  2005. tools selected from this
  2006. tool window. Use the Selection
  2007. Tool to edit existing objects.
  2008. Use the Browse tool to use
  2009. the book when you are
  2010. finished creating or editing
  2011. objects. All other tools
  2012. create objects.
  2013.     Selection
  2014. Browse
  2015. Use the Draw Tools!
  2016. HFORM
  2017. 4ILBMBMHD
  2018. But that's not all.
  2019. PAINT TOOLS
  2020. Helm's paint tools are some of
  2021. the best in the business. They
  2022. #are useful for editing and creating
  2023. artwork or animated buttons.
  2024. And the painting features of
  2025. Helm are so good that you can
  2026. even create your own custom
  2027. paint program...Your own AGA
  2028. paint program.
  2029. Paint Tools Window
  2030. |FORM
  2031. hILBMBMHD
  2032. Don't forget the Forms!
  2033. ;Objects on a form will appear on all of the form's daughter
  2034. ?pages. The data contained in these objects can be different for
  2035. 3each page. This is great for making books that have
  2036. )different text or pictures on every page.
  2037. Objects on a form...
  2038. ...appear on all the
  2039. form's daughter
  2040. pages.
  2041. Now you know
  2042.  something about Helm.
  2043. Try this demo.
  2044. You will be surprised at how
  2045. "quickly you can build colorful and
  2046.  useful applications.
  2047. Time's wasting!
  2048. ~ Main Menu
  2049. ~SMUSSHDR
  2050. MaryCeleste.SMUSINS1
  2051. Piano
  2052. A    TRAK
  2053. )    SOND
  2054. pFORM
  2055. \8SVXVHDR
  2056. ,Created Or Edited With Synthia Professional.BODY
  2057. (?MGG\
  2058. 2;O`& 
  2059. $ElV89
  2060. >@4'1B@6 
  2061. (+?MMVGTG_\
  2062. 3>\XFQ{T
  2063. ,B?^ZZK
  2064. -?<K^Zl?
  2065. 22;TOx`6&) "
  2066. '$>ETlyV88%9'
  2067. 0)(<WO0)
  2068. (<<G7
  2069. 'L[6    
  2070. #098+%
  2071. '6>73*
  2072.  -.*$
  2073. $,2,&
  2074. *381(
  2075. %41- 
  2076. )/(**
  2077. .)..%
  2078. %)/)"!
  2079. ',+'! "
  2080. #,22*),%
  2081.  )2)((*'
  2082. ,)'!%)!
  2083. &)!!&+
  2084. '-)'*32#
  2085. '+&',23
  2086. ('3>3
  2087. !4A:(
  2088. !173$
  2089. "/3+#
  2090. $12-# 
  2091. &21,'#
  2092. *.0++
  2093. )+-.%!
  2094. $+/+%#
  2095. #+.&+!
  2096. $*&+'#
  2097. %()*)&
  2098. &(+).%
  2099. $'%,,$
  2100. #$(/.!
  2101. +,,)!
  2102.  *+-+
  2103. "&,++!
  2104.  %*.+
  2105. !$-/.
  2106. #&#" 
  2107. "%"#"
  2108. !#"#&
  2109. AWTD--!
  2110. 34/.'%
  2111. "Pd`XM5'$-6EE7/,%% "
  2112. %EFT=
  2113. $6HQD&
  2114. ->Qh`J
  2115. 4HMKA*
  2116. &<U\Z8    
  2117.     (268'
  2118. )D]mV>
  2119. 4GJD6#
  2120. 0K\`[6
  2121. /9@:*
  2122. *I[aU3
  2123. "7LJC3
  2124. ,[ugA$
  2125. ';?0.(
  2126. Fgq\>$
  2127. +03;2
  2128.  GffO8(
  2129. #4=9.
  2130. )R^[M9*
  2131. ,=F>,$#%$
  2132. /MXQE8'
  2133. .:81'""#
  2134. 8NSTH;*
  2135. *1/&"#!
  2136. 8LXQKF,
  2137. *(%'!
  2138. 7AJTO8 
  2139. %*+3+&-. 
  2140. (BQRE0 
  2141. %%"$*(
  2142. 1JVPC8'
  2143. '%'+10'
  2144. 2HGFB2
  2145. 2@GJ@+
  2146. .2+!##$"
  2147. 5GNPC,
  2148. -?OH4&
  2149. 2FJ>5(
  2150. !% #('%# 
  2151. 5@D@1"
  2152. 2CF=2%! 
  2153. #$#%)(!
  2154. /??3*%
  2155. 5=962$
  2156. "3=>;3("!#
  2157. +483&
  2158. 1?=.'/5*
  2159. !9:/)/93"
  2160. (2,'/96."
  2161. '&(/5760!
  2162. !+/2<=/
  2163. $&-;A:+
  2164. %1>@4$
  2165. (;@:4/
  2166. .6889-
  2167. *17?:&
  2168. %2AB4
  2169. (;@>/
  2170. ,:?9-
  2171. -<?6&
  2172. 1<</"
  2173. 4>3+'
  2174. %232-'
  2175. %/211(
  2176. !(24+ 
  2177.  .4/*#
  2178. "-/+)(
  2179. #'),.&
  2180. $-2/#
  2181. ",.+!
  2182. $))&!
  2183. $'))"
  2184. #'+,#
  2185. !).+!
  2186. ',+)$
  2187. #).+!
  2188. $+-+"
  2189. !,+$ 
  2190. %*%"$%
  2191. %##&(%
  2192. !$(($
  2193. !'%')
  2194.  "(,'
  2195. $+.*!
  2196. "//0+
  2197. #+21(
  2198. $/12'
  2199. &/3/'
  2200. &.31#
  2201. '12+%
  2202. (/1,#
  2203. )//)%
  2204. !(.,+(
  2205.  (*,-(
  2206. $*./'
  2207. $+/.(
  2208. #+2.#
  2209. &.0+&
  2210. %+/-'
  2211. %,0.&
  2212. %//,(
  2213. &,00&
  2214. $.2.$
  2215. &/3-!
  2216.  +.,'"
  2217. ")+,( 
  2218. (-+%!
  2219. !(+*' 
  2220.  (+(&"
  2221.  '('&#
  2222.  %%'($
  2223. #%'(&
  2224. !$(*'
  2225.  (+(%
  2226. "'*)&
  2227. !'*,&
  2228.  '+*%
  2229. !'++$
  2230. !)+)$
  2231. "(**#
  2232. !&,)!
  2233. !)+& 
  2234. #)(%"
  2235. #''%"
  2236. "&%%$
  2237.  #&(#
  2238. !%:GJ?'
  2239. -@HI@8/ 
  2240. +O``REJF7,&$ $$
  2241. 0D@AIJ98@0'%!
  2242. &2<7#
  2243. !.=3 
  2244. 4CJTjgOLGA<5/#
  2245. -,.FXOAHSTG7(
  2246. 2SgYKOVUF>C<%
  2247. ')0@A8=O^XKGF<*%(
  2248. 0FHISWSPVZG(!)-%,774<P`[MNYWF<;1(
  2249. %)(6GJJU\I2/02+"#-55:IOTVVXVQPM@-*#
  2250. (>HIKMH<83$""!
  2251. !(/9BCJOMU\T@243-"
  2252. &2AFB@?6'%#
  2253. $&%)7AFOROGDD9786&
  2254. 6?>AGG<6- 
  2255. !-.4GQLFHIECLI4
  2256. %:IE==<0$#* 
  2257. *BH>7CRMIMM=6<4
  2258. %556FH4'08)
  2259. 0.$+?FBEFGHIKC0
  2260. #0<604=?1
  2261. $2715BHFFNVM2
  2262. (,/<HH;,)-%
  2263. "+.,,2;FQVO?0#
  2264. !(,6AE>41,#
  2265.  +=MPLFA=2"
  2266. )37<=<:0("
  2267.  *<IIHML?672(
  2268. %7D?3.&
  2269. -68CPM@=GD832'
  2270. )7322+
  2271. "3DD:;EFCGF6
  2272. "$-5-
  2273. ''" !
  2274. !32-/8AHLLC3%
  2275. #' !%
  2276. +3-''!
  2277. !+)#"&'$%+&
  2278. #039DNQH6( 
  2279. #!$$!&-55'
  2280. #09FMNI@1$
  2281. $+*.,#
  2282. &+364*!
  2283. &1>IOOD. "%
  2284. #(-0(!
  2285. )25-(#
  2286. 1:DMJ<20(
  2287. #(-/0+
  2288. !*()00$
  2289.  3GJ>:90(05+
  2290. '155+
  2291.     "5867965761$
  2292. %)%" 
  2293. -860, 
  2294. &$!%%!
  2295. #'-347:;6.(
  2296. #"#(&
  2297. )*16."
  2298. #'29:;6.(&"
  2299. "')*&
  2300. %22)#!
  2301.  )/0)
  2302. '-49;730+ 
  2303. #(--&"
  2304.  "%(('
  2305. +3/(#
  2306. $-2:?9*#&!
  2307. #.1( 
  2308. !$)-,&
  2309. !'*.* 
  2310. !0<:1+&
  2311. %0.# ""#%%#
  2312. #*04,
  2313. +.'&'
  2314. #560.* ",.("$&'%"&'#!!
  2315. &/22*
  2316. !"$--$
  2317. $'())()('&&'&$$%%$$&&&"
  2318. "%%(('('%#'*#  $*-+%
  2319. (33,$
  2320.  %%&%$$)-)
  2321. !&(,/(! 
  2322. "***%
  2323. &-1* 
  2324.  #'+.$
  2325. !!!%*+(*)$
  2326. '+()&
  2327. '+& #&
  2328. !(*(*-+"
  2329. "++(&
  2330. $$"%% 
  2331.  $$%+-+*&#
  2332. $+**%
  2333. (..*%!"&(%$
  2334.  %&++##'*''(%
  2335. "($!$&&&)-*#
  2336. "#! !##$),*))%
  2337. !%(*-0*"
  2338. " ",1.)$
  2339. "$"$!
  2340. ',0/' 
  2341. !%&$!
  2342. !##$$"
  2343. )--($"!!#('!
  2344. "##&' 
  2345. "*(#%'$ !&&#$&!
  2346.  #&&" %&"#+,%
  2347. #$!!"
  2348. $,,( 
  2349. $-+$! 
  2350.  #"!$%!
  2351. !&%#$$!
  2352. !$&&$
  2353. "#""#!
  2354.   !%#
  2355. &'$""
  2356. "$"#'*&
  2357. ! !$((('#
  2358.  &')+)"
  2359. "#$(,*#
  2360.  &+*$#&%
  2361. "&%$()%!!$"
  2362. ##"%'&$%'%!
  2363. "%$#%'%%('
  2364. #&&'*+%
  2365. "#%)+'$##
  2366. %*(%'(#
  2367. "&%%(*("
  2368.  #(*'""%$ 
  2369. $&$"%&#"$% 
  2370.  #""$$$%'&"
  2371. !%$"$'&$&$
  2372. "&&&((#
  2373.  #"$)+'"! 
  2374.  &*(%%% 
  2375. "&$$()% 
  2376.  #(*&""$"
  2377.  $&$$&&# "$!
  2378.  $#"$%#"%'#
  2379. "%#"%'$#&%
  2380. #&%%((#
  2381.  "#$(*&""#
  2382. %*'$%'#
  2383. "&%%')'"
  2384.  #()&"#%# 
  2385. $&$"%&#"$% 
  2386.  #""$$$%'&"
  2387. !%$"$'&$&$
  2388. "&&&((#
  2389.  #"$)+'"! 
  2390.  &*(%%% 
  2391. "&$$()% 
  2392.  #(*&""$"
  2393.  $&$$&&# "$!
  2394.  $#"$%#"%'#
  2395. "%#"%'$#&%
  2396. #&%%((#
  2397.  "#$(*&""#
  2398. %*'$%'#
  2399. "&%%')'"
  2400.  #()&"#%# 
  2401. $&$"%&#"$% 
  2402.  #""$$$%'&"
  2403. !%$"$'&$&$
  2404. "&&&((#
  2405.  #"$)+'"! 
  2406.  &*(%%% 
  2407. "&$$()% 
  2408.  #(*&""$"
  2409.  $&$$&&# "$!
  2410.  $#"$%#"%'#
  2411. "%#"%'$#&%
  2412. #&%%((#
  2413.  "#$(*&""#
  2414. %*'$%'#
  2415. "&%%')'"
  2416.  #()&"#%# 
  2417. $&$"%&#"$% 
  2418.  #""$$$%'&"
  2419. !%$"$'&$&$
  2420. "&&&((#
  2421.  #"$)+'"! 
  2422.  &*(%%% 
  2423. "&$$()% 
  2424.  #(*&""$"
  2425.  $&$$&&# "$!
  2426.  $#"$%#"%'#
  2427. "%#"%'$#&%
  2428. #&%%((#
  2429.  "#$(*&""#
  2430. %*'$%'#
  2431. "&%%')'"
  2432.  #()&"#%# 
  2433. $&$"%&#"$% 
  2434.  #""$$$%'&"
  2435. !%$"$'&$&$
  2436. "&&&((#
  2437.  #"$)+'"! 
  2438.  &*(%%% 
  2439. "&$$()% 
  2440.  #(*&""$"
  2441.  $&$$&&# "$!
  2442.  $#"$%#"%'#
  2443. "%#"%'$#&%
  2444. #&%%((#
  2445.  "#$(*&""#
  2446. %*'$%'#
  2447. "&%%')'"
  2448.  #()&"#%# 
  2449. $&$"%&#"$% 
  2450.  #""$$$%'&"
  2451. !%$"$'&$&$
  2452. "&&&((#
  2453.  #"$)+'"! 
  2454.  &*(%%% 
  2455. "&$$()% 
  2456.  #(*&""$"
  2457.  $&$$&&# "$!
  2458.  $#"$%#"%'#
  2459. "%#"%'$#&%
  2460. #&%%((#
  2461.  "#$(*&""#
  2462. %*'$%'#
  2463. "&%%')'"
  2464. ^FORM
  2465. JSMUSSHDR
  2466. Raven.SMUSINS1
  2467. First Voice
  2468. First Voice
  2469. Piano
  2470. zFORM
  2471. f8SVXVHDR
  2472. eagle
  2473. Audio Master
  2474. %MPH 
  2475. +* ,)
  2476. '4 + 
  2477. ' #G@
  2478. "9O8&'4
  2479. 'H," 
  2480. - 54 
  2481. At midnight I was at the tiller and suddenly noticed a line of clear sky
  2482. between the south and southwest. I called to the other men that the sky
  2483. was clearing, and then a moment later I realized that what I had seen was
  2484. not a rift in the clouds but the white crest of an enormous wave. During
  2485. twenty-six years' experience of the ocean in all its moods I had not
  2486. encountered a wave so gigantic. It was a mighty upheaval of the ocean, a
  2487. thing quite apart from the big white-capped seas that had been our
  2488. tireless enemies for many days. I shouted, "For God's sake, hold on! It's
  2489. got us!" Then came a moment of suspense that seemed drawn out into hours.
  2490. White surged the foam of the breaking sea around us. We felt our boat
  2491. lifted and flung forward like a cork in breaking surf. We were in a
  2492. seething chaos of tortured water; but somehow the boat lived through it,
  2493. half full of water, sagging to the dead weight and shuddering under the
  2494. blow. We baled with the energy of men fighting for life, flinging the
  2495. water over the sides with every receptacle that came to our hands, and
  2496. after ten minutes of uncertainty we felt the boat renew her life beneath
  2497. us. She floated again and ceased to lurch drunkenly as though dazed by the
  2498. attack of the sea. Earnestly we hoped that never again would we encounter
  2499. such a wave.
  2500.   The conditions in the boat, uncomfortable before, had been made worse by
  2501. the deluge of water. All our gear was thoroughly wet again. Our cooking
  2502. stove had been floating about in the bottom of the boat, and portions of
  2503. our last hoosh seemed to have permeated everything. Not until 3 A.M., when
  2504. we were all chilled almost to the limit of endurance, did we manage to get
  2505. the stove alight and make ourselves hot drinks. The carpenter [McCarthy]
  2506. was suffering particularly, but he showed grit and spirt. Vincent had for
  2507. the past week ceased to be an active member of the crew, and I could not
  2508. easily account for his collapse. Physically he was one of the strongest
  2509. men in the boat. He was a young man, he had served on North Sea trawlers,
  2510. and he should have been able to bear hardships better than McCarthy, who,
  2511. not so strong, was always happy.
  2512.   The weather was better on the following day (May 6), and we got a
  2513. glimpse of the sun. Worsley's observation showed that we were not more
  2514. than a hundred miles from the northwest corner of South Georgia. Two more
  2515. days with a favorable wind and we would sight the promised land.
  2516. from SOUTH (1920)
  2517. by Ernest Shackleton
  2518.